AddComponent(int, Type)

Method

Namespace: Ignis

Declared in: Ignis.IEntityManager


Adds a component with the specified type to an entity.

Syntax

public void AddComponent(
	int entityId,
	Type type
)

Parameters

entityId

Entity ID

type

Component type


Back to index